package org.onvivals.module.system.entity.vo;

import cn.dev33.satoken.stp.SaTokenInfo;
import org.onvivals.module.system.entity.SysUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登录返回结果")
public class LoginVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "access_token")
    private SaTokenInfo saTokenInfo;

    @Schema(description = "用户信息")
    private SysUser user;
}

